//
//  NoDataView.swift
//  AirlineReservation
//
//  Created by Kevin on 2020/3/20.
//  Copyright © 2020 Kevin. All rights reserved.
//

import UIKit

class NoDataView: UIView {
    
    private let tip = UILabel(title: "您没有待出行的航班~", color: UIColor.gray, size: 14, align: .center)
    
    public var resetTipText:String? {
        didSet {
            tip.text = resetTipText
        }
    }
    
    override func layoutSubviews() {
        tip.frame = CGRect(x: 0, y: 0, width: frame.width, height: frame.height)
        addSubview(tip)
    }
}
